using System;

namespace GraphSpace
{
	class MainClass
	{
		public static int Main (string[] args)
		{
           // StandardSuche suche = new StandardSuche(0, 7);
			Dial d = new Dial(5);

			d.insert(new Dial_Knoten(1));
			d.insert(new Dial_Knoten(2));
			d.insert(new Dial_Knoten(3));
			d.insert(new Dial_Knoten(4));
			d.insert(new Dial_Knoten(5));
			d.decreaseKey(2, 15);
			d.decreaseKey(4, 15);
			d.decreaseKey(5, 15);
			Knoten item = d.extractHead();
			d.show();
			Console.WriteLine("extractHead : "+item.Id);
			d.decreaseKey(item.Id, 11);
			d.show();
			item = d.extractHead();
			Console.WriteLine("extractHead : "+item.Id);
	
            return 0;
		}
	}
}
